<script>
    window.onload = function () {
        var del = document.querySelector("#del");
        del.onclick = function () {
            return confirm("Do you really want to delete?");
        }
        var delmuti = document.querySelector("#delmuti");
        delmuti.onsubmit = function () {
            return confirm("Do you really want to delete?");
        }
    }
</script>
</body>
</html>
<?php
    $db->close();
 ?>
